﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>EASESALES开放平台</title>
    @RenderSection("seo", false)
    @Html.Partial("_Css")
</head>
<body>
    <div class="head_box">
        <!--头部导航-->
        <div class="nav_top w1170">

            <h1 class="left"><a href="@Url.Action("ProjectList","Home")"><img src="~/images/logo2.png" style="width:100px;height:80px">開放平臺</a></h1>
            <ul class="left">
                @if (!Th.IsInThisPage())
                {
                    <li><a href="@Url.Action("Index", "Home", new { Th.ProjectId })" class="active">API</a></li>
                    <li><a href="@Url.Action("List", "ErrorCode", new { Th.ProjectId })">資源中心</a></li>
                    <li><a href="@Url.Action("Problem", "Home", new { Th.ProjectId })">常見問題</a></li>
                    <li><a href="@Url.Action("Demand", "Home", new { Th.ProjectId })">需求記錄</a></li>
                }
                <li><a href="@Url.Action("List", "Project", new { Th.ProjectId, Area = "Admin" })">後台</a></li>
                @if (!Th.IsLogin)
                {
                    <li>@Html.ActionLink("登錄", "Login", "Account")</li>
                }
                else
                {
                    <li><a href="@Url.Action("LogOut", "Account")">[@Html.CusRaw(Th.User.LoginName)] 登出</a></li>
                }
            </ul>

            <div class="clear"></div>
        </div>
    </div>
    @*@MvcMiniProfiler.MiniProfiler.RenderIncludes(MvcMiniProfiler.RenderPosition.Right)*@
    @RenderBody()
    @Html.Partial("_Js")
    @RenderSection("script", false)
    @Html.Partial("_EndJs")
</body>
</html>